package com.regent.central.infrastructure.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 主控制器
 *
 * @author 杨昌沛 646742615@qq.com
 * @date 2018-06-13 13:13
 **/
@Controller
@RestController("/")
public class InfrastructureController {

    @GetMapping("/")
    @ResponseBody
    public String home() {
        return "丽晶中台API服务";
    }

}
